package nl.haemers.test.data.vo 
{
	/**
	 * ...
	 * @author Jonathan Haemers
	 */
	[Serialize(name="environment")]
	public class EnvironmentVO 
	{
		/**
			<environment name="testserver">
				<host><![CDATA[http://testserver3.idreams.nl]]></host>
				<pages>
					<page name="video_data">
						<![CDATA[/test_data.json]]>
					</page>
					<page name="location_data">
						<![CDATA[/locations_data.json]]>
					</page>
				</pages>
			</environment>
		 */
		private var _name						:String;
		private var _host						:String;
		private var _pages						:Array;	
		private var _typedPages					:Vector.<PageVO>;
		private var _dataPage					:PageVO;
		
		public function EnvironmentVO() 
		{
		}
		
		
		/** Public methods **/
		
		/** Getters & Setters **/
		[Serialize(name="name")]
		public function get name() : String
		{
			return _name;
		}
		public function set name(value:String) : void 
		{
			_name = value;
		}
		
		[Serialize(name="host")]
		public function get host() : String
		{
			return _host;
		}
		public function set host(value:String) : void 
		{
			_host = value;
		}
		
		public function get dataPage() : PageVO
		{ 
			return _dataPage; 
		}
		public function set dataPage( value:PageVO ) : void 
		{
			_dataPage = value;	
		}
		
		[Serialize(name="pages")]
		public function get pages() : Array
		{
			return _pages;
		}
		public function set pages(value:Array) : void 
		{
			_pages = value;
		}
		
		[Serialize(name="typedpages")]
		public function get typedPages() : Vector.<PageVO>
		{
			return _typedPages;
		}
		public function set typedPages(value:Vector.<PageVO>) : void 
		{
			_typedPages = value;
		}
		/** Protected methods **/
		
		/** Private methods **/
		
	}

}